var res = {
    StartLayer_json : "res/StartLayer.json",
    BattleLayer_json : "res/BattleLayer.json",
    MainScene_json : "res/MainScene.json",
    Ruler_json:"res/Ruler.json",
    MenuView_1_json:"res/MenuView_1.json",
    MenuView_2_json:"res/MenuView_2.json",
    InformationLayer_json : "res/InformationLayer.json",
    ArtifactNode_json : "res/ArtifactNode.json",
    MainMenu_json:"res/MainMenu.json",
    HeroInfoLayer_json : "res/HeroInfoLayer.json",
    MainScene_json : "res/MainScene.json",
    SettingLayer_json:"res/SettingLayer.json",
    
    bg_tiao_png :"res/ui/bg_tiao.png",
    icon_hero_1 : "res/icon/icon_hero_1.png",
    button_lvup_2_n_png : "res/ui/button_lvup_2_n.png",
	button_lvup_2_s_png : "res/ui/button_lvup_2_s.png",
	button_lvup_d_png :   "res/ui/button_lvup_d.png",
	button_add_2_n_png :  "res/ui/button_add_2_n.png",
	button_add_s_png :    "res/ui/button_add_s.png",
	button_lvup_n_png :   "res/ui/button_lvup_n.png",
	button_lvup_s_png :   "res/ui/button_lvup_s.png",
	button_add_n_png :    "res/ui/button_add_n.png",

	button_lktz_n :       "res/ui/button_lktz_n.png",
	button_lktz_s :       "res/ui/button_lktz_s.png",
	button_tzboss_n :     "res/ui/button_tzboss_n.png",
	button_tzboss_s :     "res/ui/button_tzboss_s.png",
	info_bg_xinxitiao_png :   "res/ui/info_bg_xinxitiao.png",
	info_icon_kaiqi_png  :"res/ui/info_icon_kaiqi.png",
	icon_skill_bg_png : "res/icon/icon_skill_bg.png",
	icon_new_png : "res/ui/icon_new.png",
	icon_goldcoindrop : "res/icon/icon_goldcoindrop.png",


    icon_shenqi_1	 : "res/icon/icon_shenqi_1.png",

    icon_jinbi_small : "res/icon/icon_jinbi_small.png",
    icon_skill_1     : "res/icon/icon_skill_1.png",
	icon_skill_2     : "res/icon/icon_skill_2.png",
	icon_skill_3     : "res/icon/icon_skill_3.png",
	icon_skill_4     : "res/icon/icon_skill_4.png",
	icon_skill_5     : "res/icon/icon_skill_5.png",
	icon_skill_6     : "res/icon/icon_skill_6.png",
	icon_skill_7     : "res/icon/icon_skill_6.png",

	Music_bj		 : "res/Music/beijing/KLZ.mp3",
	Music_chouqu	 : "res/Music/chouqu/arena_key_transition.mp3",
	Music_dianji	 : "res/Music/dianji/dianji.mp3",
	Music_fenjie	 : "res/Music/fenjie/hero_portrait_crack_1.mp3",
	Music_jinbi	 	 : "res/Music/jinbiluodi/jibi.mp3",
	Music_jineng1	 : "res/Music/jineng1/Brawl_minion_lands_3.mp3",
	Music_jineng2	 : "res/Music/jineng2/Barrel_exp_base.mp3",
	Music_jineng3	 : "res/Music/jineng3/Arcane_Arrow_Targeted_Impact_03.mp3",

	icon_zuanshi     : "res/icon/icon_zuanshi.png",
	
   	effect_drop_coin		 	: "res/effect/goldcoin_drop.ExportJson",
	effect_drop_coin_plist 	 	: "res/effect/goldcoin_drop0.plist",
	effect_drop_coin_png 		: "res/effect/goldcoin_drop0.png ",

	effect_01_001 : "res/effect/Effect_PK_hit1.ExportJson",
	effect_01_002 : "res/effect/Effect_PK_hit10.png",
	effect_01_003 : "res/effect/Effect_PK_hit10.plist",
	effect_02_001 : "res/effect/Effect_appear_dust.ExportJson",
	effect_02_002 : "res/effect/Effect_appear_dust0.png",
	effect_02_003 : "res/effect/Effect_appear_dust0.plist",
	effect_hunter_001 : "res/effect/Effect_atk_hunter.ExportJson",
	effect_hunter_002 : "res/effect/Effect_atk_hunter0.plist",
	effect_hunter_003 : "res/effect/Effect_atk_hunter0.png",
	effect_master_001 : "res/effect/Effect_atk_magister.ExportJson",
	effect_master_002 : "res/effect/Effect_atk_magister0.plist",
	effect_master_003 : "res/effect/Effect_atk_magister0.png",
	effect_soldier_001 : "res/effect/Effect_atk_warrior.ExportJson",
	effect_soldier_002 : "res/effect/Effect_atk_warrior0.plist",
	effect_soldier_003 : "res/effect/Effect_atk_warrior0.png",


	effect_soldier_skill	 	: "res/effect/Effect_strike_warrior.ExportJson",
	effect_soldier_skill_plist	: "res/effect/Effect_strike_warrior0.plist",
	effect_soldier_skill_png	: "res/effect/Effect_strike_warrior0.png",
	effect_master_skill	 		: "res/effect/Effect_strike_magister.ExportJson",
	effect_master_skill_plist	: "res/effect/Effect_strike_magister0.plist",
	effect_master_skill_png	    : "res/effect/Effect_strike_magister0.png",
	effect_hunter_skill	     	: "res/effect/Effect_strike_hunter.ExportJson",
	effect_hunter_skill_plist	: "res/effect/Effect_strike_hunter.plist",
	effect_hunter_skill_png	    : "res/effect/Effect_strike_hunter.png",

	skillCD_recovery_png 	: "res/ui/skillCD_recovery.png",
	skillCD_release_png 	: "res/ui/skillCD_release.png",

	Effect_nextmap			: "res/effect/Effect_nextmap.ExportJson",
	Effect_nextmap0_plist	: "res/effect/Effect_nextmap0.plist",
	Effect_nextmap0_png		: "res/effect/Effect_nextmap0.png",
	
	monster_01_001 : "res/monster/monster_01.ExportJson",
	monster_01_002 : "res/monster/monster_010.png",
	monster_01_003 : "res/monster/monster_010.plist",
	monster_02_001 : "res/monster/monster_02.ExportJson",
	monster_02_002 : "res/monster/monster_020.png",
	monster_02_003 : "res/monster/monster_020.plist",
	monster_03_001 : "res/monster/monster_03.ExportJson",
	monster_03_002 : "res/monster/monster_030.png",
	monster_03_003 : "res/monster/monster_030.plist",
	monster_04_001 : "res/monster/monster_04.ExportJson",
	monster_04_002 : "res/monster/monster_040.png",
	monster_04_003 : "res/monster/monster_040.plist",
	monster_05_001 : "res/monster/monster_05.ExportJson",
	monster_05_002 : "res/monster/monster_050.png",
	monster_05_003 : "res/monster/monster_050.plist",
	monster_06_001 : "res/monster/monster_06.ExportJson",
	monster_06_002 : "res/monster/monster_060.png",
	monster_06_003 : "res/monster/monster_060.plist",
	monster_07_001 : "res/monster/monster_07.ExportJson",
	monster_07_002 : "res/monster/monster_070.png",
	monster_07_003 : "res/monster/monster_070.plist",
	monster_08_001 : "res/monster/monster_08.ExportJson",
	monster_08_002 : "res/monster/monster_080.png",
	monster_08_003 : "res/monster/monster_080.plist",
	monster_09_001 : "res/monster/monster_09.ExportJson",
	monster_09_002 : "res/monster/monster_090.png",
	monster_09_003 : "res/monster/monster_090.plist",

	monster_11_001 : "res/monster/monster_21.ExportJson",
	monster_11_002 : "res/monster/monster_210.png",
	monster_11_003 : "res/monster/monster_210.plist",
	monster_12_001 : "res/monster/monster_22.ExportJson",
	monster_12_002 : "res/monster/monster_220.png",
	monster_12_003 : "res/monster/monster_220.plist",
	monster_13_001 : "res/monster/monster_24.ExportJson",
	monster_13_002 : "res/monster/monster_240.png",
	monster_13_003 : "res/monster/monster_240.plist",
	monster_14_001 : "res/monster/monster_25.ExportJson",
	monster_14_002 : "res/monster/monster_250.png",
	monster_14_003 : "res/monster/monster_250.plist",
	monster_15_001 : "res/monster/monster_27.ExportJson",
	monster_15_002 : "res/monster/monster_270.png",
	monster_15_003 : "res/monster/monster_270.plist",
	monster_16_001 : "res/monster/monster_28.ExportJson",
	monster_16_002 : "res/monster/monster_280.png",
	monster_16_003 : "res/monster/monster_280.plist",
	monster_17_001 : "res/monster/monster_29.ExportJson",
	monster_17_002 : "res/monster/monster_290.png",
	monster_17_003 : "res/monster/monster_290.plist",
	monster_18_001 : "res/monster/monster_30.ExportJson",
	monster_18_002 : "res/monster/monster_300.png",
	monster_18_003 : "res/monster/monster_300.plist",

	monster_19_001 : "res/monster/monster_32.ExportJson",
	monster_19_002 : "res/monster/monster_320.png",
	monster_19_003 : "res/monster/monster_320.plist",
	monster_20_001 : "res/monster/monster_33.ExportJson",
	monster_20_002 : "res/monster/monster_330.png",
	monster_20_003 : "res/monster/monster_330.plist",
	monster_21_001 : "res/monster/monster_34.ExportJson",
	monster_21_002 : "res/monster/monster_340.png",
	monster_21_003 : "res/monster/monster_340.plist",
	monster_22_001 : "res/monster/monster_36.ExportJson",
	monster_22_002 : "res/monster/monster_360.png",
	monster_22_003 : "res/monster/monster_360.plist",
	monster_23_001 : "res/monster/monster_37.ExportJson",
	monster_23_002 : "res/monster/monster_370.png",
	monster_23_003 : "res/monster/monster_370.plist",
	
	TTF_黑体加粗 : "Helvetica-Bold",
	TTF_超粗黑 : "FZChaoCuHei-M10",
	TTF_正粗黑 : "FZZhengHeiS-B-GB",

	default_01 : "res/Default/defaultBMFont.fnt",
	default_02 : "res/Default/defaultBMFont.png",
};
var stage_json = {
	s_1_1  : "res/Stage_1_1.json",
	s_1_2  : "res/Stage_1_2.json",
	s_1_3  : "res/Stage_1_3.json",
	s_1_4  : "res/Stage_1_4.json",
	s_1_5  : "res/Stage_1_5.json",
	s_2_1  : "res/Stage_2_1.json",
	s_2_2  : "res/Stage_2_2.json",
	s_2_3  : "res/Stage_2_3.json",
	s_2_4  : "res/Stage_2_4.json",
	s_2_5  : "res/Stage_2_5.json",
	s_3_1  : "res/Stage_3_1.json",
	s_3_2  : "res/Stage_3_2.json",
	s_3_3  : "res/Stage_3_3.json",
	s_3_4  : "res/Stage_3_4.json",
	s_3_5  : "res/Stage_3_5.json",
	s_4_1  : "res/Stage_4_1.json",
	s_4_2  : "res/Stage_4_2.json",
	s_4_3  : "res/Stage_4_3.json",
	s_4_4  : "res/Stage_4_4.json",
	s_4_5  : "res/Stage_4_5.json",
	s_5_1  : "res/Stage_5_1.json",
	s_5_2  : "res/Stage_5_2.json",
	s_5_3  : "res/Stage_5_3.json",
	s_5_4  : "res/Stage_5_4.json",
	s_5_5  : "res/Stage_5_5.json",
	s_6_1  : "res/Stage_6_1.json",
	s_6_2  : "res/Stage_6_2.json",
	s_6_3  : "res/Stage_6_3.json",
	s_6_4  : "res/Stage_6_4.json",
	s_6_5  : "res/Stage_6_5.json",
	s_7_1  : "res/Stage_7_1.json",
	s_7_2  : "res/Stage_7_2.json",
	s_7_3  : "res/Stage_7_3.json",
	s_7_4  : "res/Stage_7_4.json",
	s_7_5  : "res/Stage_7_5.json",
	s_8_1  : "res/Stage_8_1.json",
	s_8_2  : "res/Stage_8_2.json",
	s_8_3  : "res/Stage_8_3.json",
	s_8_4  : "res/Stage_8_4.json",
	s_8_5  : "res/Stage_8_5.json",
	s_9_1  : "res/Stage_9_1.json",
	s_9_2  : "res/Stage_9_2.json",
	s_9_3  : "res/Stage_9_3.json",
	s_9_4  : "res/Stage_9_4.json",
	s_9_5  : "res/Stage_9_5.json",
	s_10_1 : "res/Stage_10_1.json",
	s_10_2 : "res/Stage_10_2.json",
	s_10_3 : "res/Stage_10_3.json",
	s_10_4 : "res/Stage_10_4.json",
	s_10_5 : "res/Stage_10_5.json",
	s_11_1 : "res/Stage_11_1.json",
	s_11_2 : "res/Stage_11_2.json",
	s_11_3 : "res/Stage_11_3.json",
	s_11_4 : "res/Stage_11_4.json",
	s_11_5 : "res/Stage_11_5.json",
	s_12_1 : "res/Stage_12_1.json",
	s_12_2 : "res/Stage_12_2.json",
	s_12_3 : "res/Stage_12_3.json",
	s_12_4 : "res/Stage_12_4.json",
	s_12_5 : "res/Stage_12_5.json",
	s_13_1 : "res/Stage_13_1.json",
	s_13_2 : "res/Stage_13_2.json",
	s_13_3 : "res/Stage_13_3.json",
	s_13_4 : "res/Stage_13_4.json",
	s_13_5 : "res/Stage_13_5.json",
	s_14_1 : "res/Stage_14_1.json",
	s_14_2 : "res/Stage_14_2.json",
	s_14_3 : "res/Stage_14_3.json",
	s_14_4 : "res/Stage_14_4.json",
	s_14_5 : "res/Stage_14_5.json",
	s_15_1 : "res/Stage_15_1.json",
	s_15_2 : "res/Stage_15_2.json",
	s_15_3 : "res/Stage_15_3.json",
	s_15_4 : "res/Stage_15_4.json",
	s_15_5 : "res/Stage_15_5.json",
	s_16_1 : "res/Stage_16_1.json",
	s_16_2 : "res/Stage_16_2.json",
	s_16_3 : "res/Stage_16_3.json",
	s_16_4 : "res/Stage_16_4.json",
	s_16_5 : "res/Stage_16_5.json",
	s_17_1 : "res/Stage_17_1.json",
	s_17_2 : "res/Stage_17_2.json",
	s_17_3 : "res/Stage_17_3.json",
	s_17_4 : "res/Stage_17_4.json",
	s_17_5 : "res/Stage_17_5.json",
	s_18_1 : "res/Stage_18_1.json",
	s_18_2 : "res/Stage_18_2.json",
	s_18_3 : "res/Stage_18_3.json",
	s_18_4 : "res/Stage_18_4.json",
	s_18_5 : "res/Stage_18_5.json",
	s_19_1 : "res/Stage_19_1.json",
	s_19_2 : "res/Stage_19_2.json",
	s_19_3 : "res/Stage_19_3.json",
	s_19_4 : "res/Stage_19_4.json",
	s_19_5 : "res/Stage_19_5.json",
	s_20_1 : "res/Stage_20_1.json",
	s_20_2 : "res/Stage_20_2.json",
	s_20_3 : "res/Stage_20_3.json",
	s_20_4 : "res/Stage_20_4.json",
	s_20_5 : "res/Stage_20_5.json",
};

var stage_icon =  [
	"res/icon/Stage_1_1.png",
	"res/icon/Stage_1_2.png",
	"res/icon/Stage_1_3.png",
	"res/icon/Stage_1_4.png",
	"res/icon/Stage_1_5.png",
	"res/icon/Stage_2_1.png",
	"res/icon/Stage_2_2.png",
	"res/icon/Stage_2_3.png",
	"res/icon/Stage_2_4.png",
	"res/icon/Stage_2_5.png",
	"res/icon/Stage_3_1.png",
	"res/icon/Stage_3_2.png",
	"res/icon/Stage_3_3.png",
	"res/icon/Stage_3_4.png",
	"res/icon/Stage_3_5.png",
	"res/icon/Stage_4_1.png",
	"res/icon/Stage_4_2.png",
	"res/icon/Stage_4_3.png",
	"res/icon/Stage_4_4.png",
	"res/icon/Stage_4_5.png",
	"res/icon/Stage_5_1.png",
	"res/icon/Stage_5_2.png",
	"res/icon/Stage_5_3.png",
	"res/icon/Stage_5_4.png",
	"res/icon/Stage_5_5.png",
	"res/icon/Stage_6_1.png",
	"res/icon/Stage_6_2.png",
	"res/icon/Stage_6_3.png",
	"res/icon/Stage_6_4.png",
	"res/icon/Stage_6_5.png",
	"res/icon/Stage_7_1.png",
	"res/icon/Stage_7_2.png",
	"res/icon/Stage_7_3.png",
	"res/icon/Stage_7_4.png",
	"res/icon/Stage_7_5.png",
	"res/icon/Stage_8_1.png",
	"res/icon/Stage_8_2.png",
	"res/icon/Stage_8_3.png",
	"res/icon/Stage_8_4.png",
	"res/icon/Stage_8_5.png",
	"res/icon/Stage_9_1.png",
	"res/icon/Stage_9_2.png",
	"res/icon/Stage_9_3.png",
	"res/icon/Stage_9_4.png",
	"res/icon/Stage_9_5.png",
	"res/icon/Stage_10_1.png",
	"res/icon/Stage_10_2.png",
	"res/icon/Stage_10_3.png",
	"res/icon/Stage_10_4.png",
	"res/icon/Stage_10_5.png",
	"res/icon/Stage_11_1.png",
	"res/icon/Stage_11_2.png",
	"res/icon/Stage_11_3.png",
	"res/icon/Stage_11_4.png",
	"res/icon/Stage_11_5.png",
	"res/icon/Stage_12_1.png",
	"res/icon/Stage_12_2.png",
	"res/icon/Stage_12_3.png",
	"res/icon/Stage_12_4.png",
	"res/icon/Stage_12_5.png",
	"res/icon/Stage_13_1.png",
	"res/icon/Stage_13_2.png",
	"res/icon/Stage_13_3.png",
	"res/icon/Stage_13_4.png",
	"res/icon/Stage_13_5.png",
	"res/icon/Stage_14_1.png",
	"res/icon/Stage_14_2.png",
	"res/icon/Stage_14_3.png",
	"res/icon/Stage_14_4.png",
	"res/icon/Stage_14_5.png",
	"res/icon/Stage_15_1.png",
	"res/icon/Stage_15_2.png",
	"res/icon/Stage_15_3.png",
	"res/icon/Stage_15_4.png",
	"res/icon/Stage_15_5.png",
	"res/icon/Stage_16_1.png",
	"res/icon/Stage_16_2.png",
	"res/icon/Stage_16_3.png",
	"res/icon/Stage_16_4.png",
	"res/icon/Stage_16_5.png",
	"res/icon/Stage_17_1.png",
	"res/icon/Stage_17_2.png",
	"res/icon/Stage_17_3.png",
	"res/icon/Stage_17_4.png",
	"res/icon/Stage_17_5.png",
	"res/icon/Stage_18_1.png",
	"res/icon/Stage_18_2.png",
	"res/icon/Stage_18_3.png",
	"res/icon/Stage_18_4.png",
	"res/icon/Stage_18_5.png",
	"res/icon/Stage_19_1.png",
	"res/icon/Stage_19_2.png",
	"res/icon/Stage_19_3.png",
	"res/icon/Stage_19_4.png",
	"res/icon/Stage_19_5.png",
	"res/icon/Stage_20_1.png",
	"res/icon/Stage_20_2.png",
	"res/icon/Stage_20_3.png",
	"res/icon/Stage_20_4.png",
	"res/icon/Stage_20_5.png",
];
var g_resources = [];
for (var i in res) {
    g_resources.push(res[i]);
}
